package com.xhej.rowreat.model.tmp;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "XINHB_INSIDE_JNL")
public class XinhbInsideJnl implements Serializable {
    @Column(name = "JNL_NO")
    private String jnlNo;

    @Column(name = "CHANNEL_ID")
    private String channelId;

    @Column(name = "DEVICE_INFO")
    private String deviceInfo;

    @Column(name = "LOCAL_ADDR")
    private String localAddr;

    @Column(name = "TRANSACTION_ID")
    private String transactionId;

    @Column(name = "REQUEST_TIME")
    private Date requestTime;

    @Column(name = "REQUEST_DATA")
    private String requestData;

    @Column(name = "RESPONSE_TIME")
    private Date responseTime;

    @Column(name = "RETURN_CODE")
    private String returnCode;

    @Column(name = "EXECUTE_TIME")
    private String executeTime;

    @Column(name = "RESPONSE_DATA")
    private byte[] responseData;

    private static final long serialVersionUID = 1L;

    public XinhbInsideJnl(String jnlNo, String channelId, String deviceInfo, String localAddr, String transactionId, Date requestTime, String requestData, Date responseTime, String returnCode, String executeTime, byte[] responseData) {
        this.jnlNo = jnlNo;
        this.channelId = channelId;
        this.deviceInfo = deviceInfo;
        this.localAddr = localAddr;
        this.transactionId = transactionId;
        this.requestTime = requestTime;
        this.requestData = requestData;
        this.responseTime = responseTime;
        this.returnCode = returnCode;
        this.executeTime = executeTime;
        this.responseData = responseData;
    }

    public XinhbInsideJnl() {
        super();
    }

    /**
     * @return JNL_NO
     */
    public String getJnlNo() {
        return jnlNo;
    }

    /**
     * @param jnlNo
     */
    public void setJnlNo(String jnlNo) {
        this.jnlNo = jnlNo == null ? null : jnlNo.trim();
    }

    /**
     * @return CHANNEL_ID
     */
    public String getChannelId() {
        return channelId;
    }

    /**
     * @param channelId
     */
    public void setChannelId(String channelId) {
        this.channelId = channelId == null ? null : channelId.trim();
    }

    /**
     * @return DEVICE_INFO
     */
    public String getDeviceInfo() {
        return deviceInfo;
    }

    /**
     * @param deviceInfo
     */
    public void setDeviceInfo(String deviceInfo) {
        this.deviceInfo = deviceInfo == null ? null : deviceInfo.trim();
    }

    /**
     * @return LOCAL_ADDR
     */
    public String getLocalAddr() {
        return localAddr;
    }

    /**
     * @param localAddr
     */
    public void setLocalAddr(String localAddr) {
        this.localAddr = localAddr == null ? null : localAddr.trim();
    }

    /**
     * @return TRANSACTION_ID
     */
    public String getTransactionId() {
        return transactionId;
    }

    /**
     * @param transactionId
     */
    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId == null ? null : transactionId.trim();
    }

    /**
     * @return REQUEST_TIME
     */
    public Date getRequestTime() {
        return requestTime;
    }

    /**
     * @param requestTime
     */
    public void setRequestTime(Date requestTime) {
        this.requestTime = requestTime;
    }

    /**
     * @return REQUEST_DATA
     */
    public String getRequestData() {
        return requestData;
    }

    /**
     * @param requestData
     */
    public void setRequestData(String requestData) {
        this.requestData = requestData == null ? null : requestData.trim();
    }

    /**
     * @return RESPONSE_TIME
     */
    public Date getResponseTime() {
        return responseTime;
    }

    /**
     * @param responseTime
     */
    public void setResponseTime(Date responseTime) {
        this.responseTime = responseTime;
    }

    /**
     * @return RETURN_CODE
     */
    public String getReturnCode() {
        return returnCode;
    }

    /**
     * @param returnCode
     */
    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode == null ? null : returnCode.trim();
    }

    /**
     * @return EXECUTE_TIME
     */
    public String getExecuteTime() {
        return executeTime;
    }

    /**
     * @param executeTime
     */
    public void setExecuteTime(String executeTime) {
        this.executeTime = executeTime == null ? null : executeTime.trim();
    }

    /**
     * @return RESPONSE_DATA
     */
    public byte[] getResponseData() {
        return responseData;
    }

    /**
     * @param responseData
     */
    public void setResponseData(byte[] responseData) {
        this.responseData = responseData;
    }
}